package com.amiu;

public class Bean {

	private long id;
	private String name;
	private String password;
	private String phone;
	private boolean is_lock;
	
	public Bean(){}
	public Bean(String name,String password,String phone){
		this.name = name;
		this.password = password;
		this.phone = phone;
	}
	public Bean(long id,String name,String password,String phone){
		this.id = id;
		this.name = name;
		this.password = password;
		this.phone = phone;
	}
	public Bean(String name,String password,String phone,boolean is_lock){
		this.name = name;
		this.password = password;
		this.phone = phone;
		this.is_lock = is_lock;
	}
	public Bean(long id,String name,String password,String phone,boolean is_lock){
		this.id = id;
		this.name = name;
		this.password = password;
		this.phone = phone;
		this.is_lock = is_lock;
	}
	
	public boolean isIs_lock() {
		return is_lock;
	}
	public void setIs_lock(boolean is_lock) {
		this.is_lock = is_lock;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	@Override
	public String toString() {
		return "$Bean$ --> ID: "+id+",NAME: "+name+",PASSWORD: "+password+",PHONE: "+phone+",IS_LOCK: "+is_lock;
	}
	
	
}
